Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 4 - Colors and Color-Related Objects / Colors and Color-Related Objects Reference
Color Profile Functions / Manipulating Color Profile Object Properties


GXGetColorProfileOwners

You can use the GXGetColorProfileOwners function to determine the number of references to a particular color profile object.

long GXGetColorProfileOwners(gxColorProfile source);
source
A reference to the color profile object to find the owner count of.
function result
The owner count of the source color profile object.
DESCRIPTION
The GXGetColorProfileOwners function returns the owner count of the referenced color profile object. The owner count is the current number of references to the color profile object.

ERRORS, WARNINGS, AND NOTICES
Errors 
colorProfile_is_nil 
SEE ALSO
Owner counts for color profile objects are discussed in the section "Copying, Comparing, and Cloning Color Sets and Color Profiles" beginning on page 4-44, and in the section "Manipulating Owner Counts" beginning on page 4-46.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996